<?php
class indexController extends Controller {
	
	public $table = 'page';
   
	public function initialize() {
	    $this->view->title = '';
		$this->view->layoutPath = 'template';
		$this->view->templateUrl = 'template';
		$this->view->setLayout = 'default';
		//------->>> add Javascript files $this->view->add_js('');
	
    }
    
    //--------------- Begin index function -----------------//
    
    public function indexAction() {
        $this->view->title = 'PG Schagen - Kerkdiensten';
		$this->getPageContent();
    	$this->view->show();
    	
    }
   
}

